package com.sharainy.pojo;

public class SingleSettlement {
    private int id;
    private int merchantid;
    private float nowreading;
    private float cost;
    private String code;
    private long time;
    private int accountid;
    private float beforereading;
    private  int powertype;
    private int isshare;
    private float powerusage;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public float getBeforereading() {
        return beforereading;
    }

    public void setBeforereading(float beforereading) {
        this.beforereading = beforereading;
    }

    public int getMerchantid() {
        return merchantid;
    }

    public void setMerchantid(int merchantid) {
        this.merchantid = merchantid;
    }

    public float getNowreading() {
        return nowreading;
    }

    public void setNowreading(float nowreading) {
        this.nowreading = nowreading;
    }

    public int getAccountid() {
        return accountid;
    }

    public void setAccountid(int accountid) {
        this.accountid = accountid;
    }

    public int getPowertype() {
        return powertype;
    }

    public void setPowertype(int powertype) {
        this.powertype = powertype;
    }

    public int getIsshare() {
        return isshare;
    }

    public void setIsshare(int isshare) {
        this.isshare = isshare;
    }

    public float getPowerusage() {
        return powerusage;
    }

    public void setPowerusage(float powerusage) {
        this.powerusage = powerusage;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SingleSettlement{");
        sb.append("id=").append(id);
        sb.append(", merchantid=").append(merchantid);
        sb.append(", nowreading=").append(nowreading);
        sb.append(", cost=").append(cost);
        sb.append(", code='").append(code).append('\'');
        sb.append(", time=").append(time);
        sb.append(", accountid=").append(accountid);
        sb.append(", beforereading=").append(beforereading);
        sb.append(", powertype=").append(powertype);
        sb.append(", isshare=").append(isshare);
        sb.append(", powerusage=").append(powerusage);
        sb.append('}');
        return sb.toString();
    }
}
